count the number of rows in a database table in Django

32

use ".count()"

Example:-
Number_of_Messages = Messages.objects.count()

Comments

Submit
0 Comments